﻿namespace ScrumLite.Services
{
    using System.Collections.Generic;
    using Contracts;
    using System.ServiceModel;

    [ServiceContract]
    public interface IReviewsService
    {
        [OperationContract]
        Review[] GetReviews(string projectId);

        [OperationContract]
        Review GetReview(string reviewId);

        [OperationContract]
        Dictionary<int, int> GetReviewsByWeek(string projectId);

        [OperationContract]
        void AddReview(Review review);

        [OperationContract]
        void UpdateReview(Review review);
    }
}
